package com.efounder.frame;

import java.io.Serializable;

public class ViewRect implements Serializable {

	private static final long serialVersionUID = 3416363415195246774L;

	/** view的原点 **/
	private ViewPoint origin;
	/** view的大小 **/
	private ViewSize size;

	public ViewRect() {
		super();
	}

	public ViewRect(ViewPoint origin, ViewSize size) {
		super();
		this.origin = origin;
		this.size = size;
	}

	public ViewPoint getOrigin() {
		return origin;
	}

	public void setOrigin(ViewPoint origin) {
		this.origin = origin;
	}

	public ViewSize getSize() {
		return size;
	}

	public void setSize(ViewSize size) {
		this.size = size;
	}

}
